<template>
  <div>
    <el-alert
      :title="modelString"
      description="数据会通过值班主任席NTFM自动获取，请检查NTFM反向代理运行情况。"
      type="warning"
      show-icon
      :closable="false"
    />
    <el-empty description="无数据" :image-size="360" />
  </div>
</template>

<script setup>
import { computed } from "vue";
const props = defineProps({
  modelName: {
    type: String,
    default: "",
  },
});

const modelString = computed(() => {
  if (props.modelName == "") return "无数据";
  return `无“${props.modelName}”数据`;
});
</script>
